package interfaceDAO;

import java.sql.Date;
import java.util.ArrayList;

import classes.SessionFormation;

public interface SessionFormationDAOInterface {

	public ArrayList<SessionFormation> getSessionFormationsList();
	public SessionFormation getById(long id);
	public void create(SessionFormation sessionformation);
	public void update(SessionFormation sessionformation);
	public void delete(SessionFormation sessionformation);
	public ArrayList<SessionFormation> getByDateDebut(Date date);
	public ArrayList<SessionFormation> getByLieu(long id);
	public ArrayList<SessionFormation> getByLieuEtDateDebut(long id, Date date);
	public ArrayList<SessionFormation> getByFormation(String code);
	public ArrayList<SessionFormation> getByLieuEtDateDebutEtFormation(long id,Date date, String code);
	public ArrayList<SessionFormation> getByLieuEtFormation(long id, String code);
	public ArrayList<SessionFormation> getByDateDebutEtFormation(String code, Date date);
}
